import React from "react";
import lazyLoad from "../utils/lazyLoad";
import LargeScreenLayout from '../../components/LargeScreenLayout/LargeScreenLayout'
import Dashboard from '@mui/icons-material/Dashboard';

const nextTestRouter = [
  {
    element: <LargeScreenLayout />,
    children: [
      {
        path: '/dashboard/index',
        element: lazyLoad(React.lazy(() => import("../../pages/DashBoard"))),
        meta: {
          requiresAuth: true,
          key: "DashBoardIndex",
          title: "大屏首页",
          icon: Dashboard,
          titleI18n: 'dashBoardIndex',
          showNav: true
        },
        index: 2
      }
    ]
  },
]

export default nextTestRouter